package com.hz.ruoyistorage.controller;

import com.hz.ruoyistorage.mapper.LgInboundOrderSomeMapper;
import com.hz.ruoyistorage.service.LgInboundOrderSomeService;
import com.hz.ruoyistorage.utils.ResultJSON;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @version 1.0
 * @Author gj
 * @Date 2025/3/10 9:17
 * @注释
 */
@RestController
@RequestMapping("/goStorage")
public class LgInboundOrderController {
    @Autowired
    private LgInboundOrderSomeService lgInboundOrderSomeService;
    @Autowired
    private LgInboundOrderSomeMapper lgInboundOrderSomeMapper;
    @PostMapping("/getAll")
    public ResultJSON getAll(){
        return ResultJSON.success(lgInboundOrderSomeMapper.getAll());
    }
}
